package com.mcr.reggie.dto;

import com.mcr.reggie.entity.Dish;
import com.mcr.reggie.entity.DishFlavor;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

@Data
public class DishDto extends Dish {
    //继承了Dish,而且又扩展了以下属性：
    private List<DishFlavor> flavors = new ArrayList<>();//菜品对应的口味数据
    private String categoryName;
    private Integer copies;
}
